import { Application } from "../App"

/**
 * @description 清空所有内容
 * @param app {Application}
 */
export function system_clear(app: Application) {
  app.renderer.removeAllActors()
  app.actorList.empty()
  app.labelActorList.empty()
  app.graphicActorList.empty()
  if (app.reportScene) {
    app.reportScene.clear()
  }
  app.renderAtOnce()
}
